// Export basic class & modifiers
@include euiPanel($selector: '.euiPanel');
@include euiHasBetaBadge($selector: '.euiPanel');

// Specific
@each $modifier, $amount in $euiPanelPaddingModifiers {
  .euiPanel--#{$modifier} {
    padding: $amount;

    // Overwrite @hasBetaBadge max-width depending upon padding
    .euiPanel__betaBadgeWrapper {
      max-width: calc(100% - #{$amount*2});
    }
  }
}
